package day6;

import java.io.File;
import java.io.IOException;

/**
 * @author oldliu
 * @since 1.0
 */
public class FileTest6 {
    public static void main(String[] args) throws IOException {
        File f = new File(
                "F:\\bmdsj5.0\\20190520bmdsjfabuziliao\\11-Hadoop\\02-MapReduce原理及编程\\..\\..\\10-ELK\\\\01" +
                "-Elasticsearch\\01-教学PPT\\1.Elasticsearch.pptx");
        System.out.println("大小：" + f.length());
        System.out.println("完整的位置：" + f.getAbsolutePath());
        System.out.println("完整的位置：" + f.getCanonicalPath());
    }
}
